package com.ruoyi.shenji.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.shenji.service.SysBhqService;
import com.ruoyi.shenji.service.TableDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 角色信息
 * 
 * @author ruoyi
 */
@RestController
@RequestMapping("/shenji/role")
public class RoleController extends BaseController
{

    @Autowired
    private SysBhqService sysBhqService;
    @Autowired
    private TableDataService tableDataService;

    @GetMapping("/getRoleName")
    public AjaxResult getRoleName()
    {

        return AjaxResult.success(sysBhqService.list());
    }




}







